package cn.wgx.modules.sys.entity.mapper;

import cn.wgx.modules.sys.entity.SysDuty;
import cn.wgx.modules.sys.entity.SysDutyExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysDutyMapper {

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    int updateByPrimaryKeySelective(SysDuty record);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    int deleteByExample(SysDutyExample example);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    int updateByPrimaryKey(SysDuty record);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    int updateByExampleSelective(@Param("record") SysDuty record, @Param("example") SysDutyExample example);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    int deleteByPrimaryKey(Integer duty_id);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    long countByExample(SysDutyExample example);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    int insertSelective(SysDuty record);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    List<SysDuty> selectByExample(SysDutyExample example);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    int updateByExample(@Param("record") SysDuty record, @Param("example") SysDutyExample example);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    SysDuty selectByPrimaryKey(Integer duty_id);

    /**
     * @mbg.generated Wed Feb 19 16:52:33 CST 2020
     */
    int insert(SysDuty record);
}
